package com.atguigu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author Jia Fa
 * @create 2021-10-09 0:21
 */
@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.dao")
@EnableTransactionManagement //启用注解事务支持
public class Application_mybatis {
    public static void main(String[] args) {
        SpringApplication.run(Application_mybatis.class, args);
    }
}
